package net.whzjkj.gateway.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.math.BigDecimal;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 严重碰撞报警明细
 */
@Data
@Accessors(chain = true)
public class ObdAlarmSeriousCollisionDetail extends Model<ObdAlarmSeriousCollisionDetail> {

	@TableId(value = "id", type = IdType.ID_WORKER_STR)
	private String id;
	
	@ApiModelProperty("碰撞报警ID")
	private String alarmSeriousCollisionId;
	
	@ApiModelProperty("X轴")
	private BigDecimal xAxis;
	
	@ApiModelProperty("Y轴")
	private BigDecimal yAxis;
	
	@ApiModelProperty("Z轴")
	private BigDecimal zAxis;
	
	@ApiModelProperty("GPS速度")
	private BigDecimal gpsSpeed;
	
	@ApiModelProperty("发动机状态")
	private Integer engineStatus;
	
	@ApiModelProperty("刹车灯状态")
	private Integer stoplightStatus;
	
	@ApiModelProperty("左转向灯状态")
	private Integer leftlightStatus;
	
	@ApiModelProperty("右转向灯状态")
	private Integer rightlightStatus;
	
	private Date createTime;
	
	@ApiModelProperty("更新时间")
	private Date updateTimer;
	
	private String creater;
	
	private String updater;
	
	private Integer status;
	
}